package org.gruposp2p.proyectokarma.gwt.client.domain;

public class Role {
	
	public enum RoleType {ROLE_VISITOR, ROLE_USER, ROLE_ADMIN, ROLE_SUPERADMIN}

    private Long id;
	private	RoleType authority;
	
    public Role() { }

	public void setAuthority(RoleType authority) {
		this.authority = authority;
	}

	public RoleType getAuthority() {
		return authority;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

}
